package d01_pilmmorphism;

public class Test01 {
    public static void main(String[] args) {
        //认识多态
        Animal cat=new Cat();
        Animal dog=new Dog();
        cat.cry();
        dog.cry();//多态编译看左边，运行看右边
    }

}
